package com.tianhai.db.parser.ast;

/**
 * SQL语句抽象基类
 */
public abstract class Statement {
    
    /**
     * 获取语句类型
     */
    public abstract StatementType getType();
    
    /**
     * 语句类型枚举
     */
    public enum StatementType {
        CREATE_TABLE,
        INSERT,
        SELECT,
        UPDATE,
        DELETE,
        BEGIN_TRANSACTION
    }
}
